package com.yangzc.lion.sys.organization.service.spring;

import org.springframework.security.authentication.encoding.Md5PasswordEncoder;

import com.yangzc.lion.sys.organization.service.IKmssPasswordEncoder;

public class KmssPasswordEncoder extends Md5PasswordEncoder implements
		IKmssPasswordEncoder {

	public KmssPasswordEncoder() {
		super();
	}

	public String encodePassword(String password) {
		return encodePassword(password, null);
	}
	
	public String encodePassword(String password,String loginName) {
		return encodePassword(password, loginName);
	}
}
